<template>
	<view>
		<swiper class="swiper-banner" :indicator-dots="true" :autoplay="true" :interval="3000" :duration="1000"
			circular>
			<swiper-item v-for="(swiper,s) in swipers" :key="s">
				<view class="swiper-item">
					<image :src="swiper.src"></image>
				</view>
			</swiper-item>
		</swiper>
	</view>
</template>

<script>
	export default {
		name: "swiper-banner",
		data() {
			return {

			};
		},
		props: {
			swipers: {
				type: Object
			}
		}
	}
</script>

<style scoped>
	.navbar-wrapper {
		width: 750rpx;
		height: 88rpx;
		line-height: 100rpx;
		transform: translateY(-20rpx);
		font-size: 28rpx;
	}
	.swiper-banner,
	.swiper-item image {
		width: 750rpx;
		height: 350rpx;
	}
</style>